/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nanosn.framework.web.template;

import java.util.Map;

/**
 * Extension point interface for components that provide their own
 * ClearSilver templates and accompanying static resources.
 * @author selkhateeb
 */
public interface ITemplateProvider
{
    /**
     * Each item in the returned map list must be a `(prefix, abspath)` pair. The
     * `prefix` part defines the path in the URL that requests to these
     * resources are prefixed with.
     *
     * The `abspath` is the absolute path to the directory containing the
     * resources on the local file system.
     *
     * @return a list of directories with static resources (such as style
     * sheets, images, etc.)
     */
    Map<String, String> get_htdocs_dirs();

    /**
     * @return a list of directories containing the provided template files.
     */Map<String, String> get_templates_dirs();
}
